package wenjie.chen.receiver.command;

import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;

@Data
public class DecreaseAmountCommand {
    @NotNull
    String accountId;
    @Range
    double amount;
}
